package com.mmz.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mmz.dao.ProductDao;
import com.mmz.domain.Product;
@Service
public class ProductService {
	@Resource
	private ProductDao productDao;
	public ProductDao getProductDao() {
		return productDao;
	}
	public void setProductDao(ProductDao productDao) {
		this.productDao = productDao;
	}
	public void save(Product product){
		System.out.println("ProductService");
		productDao.save(product);
	}
}
